﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.oracle
{
	// Token: 0x0200013F RID: 319
	public class TPlsqlGotoStmt : TCustomSqlStatement
	{
		// Token: 0x170001FA RID: 506
		// (get) Token: 0x06000AA2 RID: 2722 RVA: 0x00305446 File Offset: 0x00303646
		// (set) Token: 0x06000AA3 RID: 2723 RVA: 0x0030544E File Offset: 0x0030364E
		public virtual TObjectName GotolabelName
		{
			get
			{
				return this.gotolabelName;
			}
			set
			{
				this.gotolabelName = value;
			}
		}

		// Token: 0x06000AA4 RID: 2724 RVA: 0x00305457 File Offset: 0x00303657
		public override void init(object arg1)
		{
			this.gotolabelName = (TObjectName)arg1;
		}

		// Token: 0x06000AA5 RID: 2725 RVA: 0x00305465 File Offset: 0x00303665
		public TPlsqlGotoStmt() : this(EDbVendor.dbvoracle)
		{
		}

		// Token: 0x06000AA6 RID: 2726 RVA: 0x0030546F File Offset: 0x0030366F
		public TPlsqlGotoStmt(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstplsql_gotostmt;
		}

		// Token: 0x06000AA7 RID: 2727 RVA: 0x00305483 File Offset: 0x00303683
		internal override void buildsql()
		{
		}

		// Token: 0x06000AA8 RID: 2728 RVA: 0x00305485 File Offset: 0x00303685
		internal override void clear()
		{
		}

		// Token: 0x06000AA9 RID: 2729 RVA: 0x00305487 File Offset: 0x00303687
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x06000AAA RID: 2730 RVA: 0x0030548E File Offset: 0x0030368E
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x06000AAB RID: 2731 RVA: 0x00305490 File Offset: 0x00303690
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000AAC RID: 2732 RVA: 0x0030549B File Offset: 0x0030369B
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000AAD RID: 2733 RVA: 0x003054AB File Offset: 0x003036AB
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001297 RID: 4759
		private TObjectName gotolabelName;
	}
}
